import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { FrontPage } from '../front/front';


/**
 * Generated class for the SkipPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-skip',
  templateUrl: 'skip.html',
})
export class SkipPage {
  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }
  public slides=[];
  ionViewDidLoad() {
    console.log('ionViewDidLoad SkipPage');
    this.slides=[
      {
        "image":"./assets/img/ica-slidebox-img-1.png",
        "title":"打开手机"
      },
      {
        "image":"./assets/img/ica-slidebox-img-2.png",
        "title":"查找附近"
      },
      {
        "image":"./assets/img/ica-slidebox-img-3.png",
        "title":"与心愿同行"
      }
    ];
  }
  skip(){
    this.navCtrl.push(FrontPage);
    alert("12号");
  }
  
  
  
}
